3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-24 01:55:03 +00:00
This commit is contained in:
Dragory 2021-08-19 01:59:07 +03:00
parent 807874874c
commit 9fae3c07e7
2 changed files with 16 additions and 12 deletions

View file

@ -33,6 +33,10 @@ export const LogsChannelUpdateEvt = logsEvt({
const diff = getScalarDifference(meta.args.oldChannel, meta.args.newChannel);
const differenceString = differenceToString(diff);
if (differenceString.trim() === "") {
return;
}
logChannelUpdate(meta.pluginData, {
oldChannel: meta.args.oldChannel,
newChannel: meta.args.newChannel,