Commit 2d34ff3
committed
WIP mark chat as read
wip:
Maybe trigger it when the user scrolled to the bottom on his own.
E.g. when a scrolling listener tells "scrolling is finished" we check if it's scrolled to the bottom and then send the mark as read
also todo:
mark as read "when the user is sending the app to the background or navigates "back to conversation list" and the last message a user read (saw on screen) is a higher id then the previous known readmarker"
Signed-off-by: Marcel Hibbe <[email protected]>1 parent ea85242 commit 2d34ff3
File tree
2 files changed
+28
-2
lines changed- app/src/main/java/com/nextcloud/talk/chat
- viewmodels
2 files changed
+28
-2
lines changedLines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1464 | 1464 | | |
1465 | 1465 | | |
1466 | 1466 | | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
1467 | 1478 | | |
1468 | 1479 | | |
1469 | 1480 | | |
| |||
3943 | 3954 | | |
3944 | 3955 | | |
3945 | 3956 | | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
| 3968 | + | |
3946 | 3969 | | |
3947 | 3970 | | |
3948 | 3971 | | |
| 3972 | + | |
| 3973 | + | |
| 3974 | + | |
3949 | 3975 | | |
3950 | 3976 | | |
3951 | 3977 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
568 | | - | |
| 567 | + | |
| 568 | + | |
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
| |||
0 commit comments