TPJNM4C4HERERL4FJFOMZP3IRRZZZKFBCRIZBXDLEMLNXWDOXVYQC
5ZDRHVXDP5DP5E2RXRPQX4VAKVHGA5MVFYUPI2D42BAWWUGIRZNAC
USPPMDII5BK5SBT4DCD7TETL2YSPZ2CVXREPKNPGQUU3SKFONM4AC
NCBEWRYEEJMJO37SHY7XCNFZYWLT5HUHCKN47UGSEY3FFWFX6QFQC
VT237HUJI7DE5XLXAR4JARCOFOGC2WRGQWB3RJYAGGWNM36UDP3QC
YUVLBWV3UDNQG63DMTQQOBBL4WMK2J7ODPIZ5337X5PDBZYFQO6AC
OXW4KMVURSBSSHOFK4DADOGVBRCURJ6EFFU6BBZE6IQC7BUBR5IQC
ZGMIJNFVDK7R6AF56FNCA23W5KV3HVBUBPTWMLQADCEPB3MOPELQC
L44OILGKTGXSLQ3A4UQH44AMJXAVZSFISAB6ICHCDB6D42NKUWBQC
GNQD74OZ56J2R23GVUGFP3G5KVML2KDZ4OUZK6SVLSM7HVO2WOCAC
ZI7ORD4PDRUZOODUMZEPNYLHS3JH6XKYV545LLAD3T4S6IP4FR2QC
VWRDBPJZG6LMTUN2BKCBBPY2LZNJDIJMJ4SFYGXYQFW2XDNXNJPAC
return await this.repository.getLog(element.name);
// TODO: Distinguish between changes in the current channel and not in the other channel and
// changes in the other channel which are not in the current channel
return await this.repository.compareChannelChanges(element.name);
}
/**
* Compare the changes in another channel against the main channel
* @param otherChannelName The name of the other channel to compare against
*/
async compareChannelChanges (otherChannelName: string): Promise<PijulChange[]> {
// TODO: Caching and other easy optimizations
return difference(await this.getLog(otherChannelName), await this.getLog(), true);