Philipp Hörist pushed to branch mainwindow at gajim / gajim
Commits:
-
a45033ce
by lovetox at 2021-04-04T23:51:48+02:00
1 changed file:
Changes:
| ... | ... | @@ -236,6 +236,9 @@ def _find_ancestor(self, message): |
| 236 | 236 |
if row is None:
|
| 237 | 237 |
return None
|
| 238 | 238 |
|
| 239 |
+ if row.type == 'read_marker':
|
|
| 240 |
+ continue
|
|
| 241 |
+ |
|
| 239 | 242 |
if row.type != 'chat':
|
| 240 | 243 |
return None
|
| 241 | 244 |
|
| ... | ... | @@ -254,6 +257,9 @@ def _update_descendants(self, message): |
| 254 | 257 |
if row is None:
|
| 255 | 258 |
return
|
| 256 | 259 |
|
| 260 |
+ if row.type == 'read_marker':
|
|
| 261 |
+ continue
|
|
| 262 |
+ |
|
| 257 | 263 |
if row.type != 'chat':
|
| 258 | 264 |
return
|
| 259 | 265 |
|