| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-04-12 19:21:56 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-04-12 19:21:56 UTC |
| parent | 58eb8854832e3e5f13d331fecabb264f1e8fcd68 |
| borogove/Chat.hx | +1 | -1 |
diff --git a/borogove/Chat.hx b/borogove/Chat.hx index 8d0337c..32536dd 100644 --- a/borogove/Chat.hx +++ b/borogove/Chat.hx @@ -511,7 +511,7 @@ abstract class Chat { return persistence.getMessage(client.accountId(), chatId, readUpToId, null).then(m -> { // A PM is not actually part of the chat // So it cannot really be the read up to point - if (m.type == MessageChannelPrivate) return null; + if (m?.type == MessageChannelPrivate) return null; return m; });