Restore presence messages for non-join, non-leave

ipad-testing
Noah 2023-08-29 19:57:12 -07:00
parent 4cbc919793
commit dc9260c8e6
1 changed files with 2 additions and 1 deletions

View File

@ -927,7 +927,8 @@ const app = Vue.createApp({
}
// Push it to the history of all public channels (depending on user preference).
if ((isJoin && this.prefs.joinMessages) || (isLeave && this.prefs.exitMessages)) {
if ((isJoin && this.prefs.joinMessages) || (isLeave && this.prefs.exitMessages)
|| (!isJoin && !isLeave)) {
for (let channel of this.config.channels) {
this.pushHistory({
channel: channel.ID,