Fix missing pings/mentions in logs

This commit is contained in:
Dragory 2019-05-03 08:08:21 +03:00
parent 2aacf6fe65
commit b8e0f26bf0
6 changed files with 18 additions and 18 deletions

View file

@ -97,7 +97,7 @@ export class PersistPlugin extends ZeppelinPlugin<IPersistPluginConfig> {
await this.persistedData.clear(member.id);
this.logs.log(LogType.MEMBER_RESTORE, {
member: stripObjectToScalars(member, ["user"]),
member: stripObjectToScalars(member, ["user", "roles"]),
restoredData: restoredData.join(", "),
});
}