Commit 074dc73
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 <dev@mhibbe.de>1 parent ff73495 commit 074dc73
2 files changed
Lines changed: 28 additions & 2 deletions
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1454 | 1454 | | |
1455 | 1455 | | |
1456 | 1456 | | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
1457 | 1468 | | |
1458 | 1469 | | |
1459 | 1470 | | |
| |||
3928 | 3939 | | |
3929 | 3940 | | |
3930 | 3941 | | |
| 3942 | + | |
| 3943 | + | |
| 3944 | + | |
| 3945 | + | |
| 3946 | + | |
| 3947 | + | |
| 3948 | + | |
| 3949 | + | |
| 3950 | + | |
| 3951 | + | |
| 3952 | + | |
| 3953 | + | |
3931 | 3954 | | |
3932 | 3955 | | |
3933 | 3956 | | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
3934 | 3960 | | |
3935 | 3961 | | |
3936 | 3962 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
555 | 555 | | |
556 | 556 | | |
557 | 557 | | |
558 | | - | |
559 | | - | |
| 558 | + | |
| 559 | + | |
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| |||
0 commit comments