Commit 12ab06e
committed
fix(chat): don't count self-sent messages as unread
Self-sent messages (including cash) were not advancing the read pointer,
causing the contact list to show a stuck unread indicator. Fix by
excluding self-sent messages from the unread count and advancing the
read pointer after sending a message.
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>1 parent d77d8d8 commit 12ab06e
1 file changed
Lines changed: 3 additions & 1 deletion
File tree
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
102 | 103 | | |
103 | | - | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| 214 | + | |
213 | 215 | | |
214 | 216 | | |
215 | 217 | | |
| |||
0 commit comments