Restore presence messages for non-join, non-leave

This commit is contained in:
Noah 2023-08-29 19:57:12 -07:00
parent 4cbc919793
commit dc9260c8e6

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,