diff options
| author | 2023-04-14 19:21:57 +0200 | |
|---|---|---|
| committer | 2023-04-14 19:21:57 +0200 | |
| commit | 58b2a47631363e9d35d8194694483b53ed06b03c (patch) | |
| tree | d50144333a991e14a46c597619f3d6048bc1c5de | |
| parent | New function timeline_touch(). (diff) | |
| download | snac2-58b2a47631363e9d35d8194694483b53ed06b03c.tar.gz snac2-58b2a47631363e9d35d8194694483b53ed06b03c.tar.xz snac2-58b2a47631363e9d35d8194694483b53ed06b03c.zip | |
Set the timeline check time after showing the notifications.
| -rw-r--r-- | html.c | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -1273,6 +1273,11 @@ xs_str *html_notifications(snac *snac) | |||
| 1273 | 1273 | ||
| 1274 | s = xs_str_cat(s, "</body>\n</html>\n"); | 1274 | s = xs_str_cat(s, "</body>\n</html>\n"); |
| 1275 | 1275 | ||
| 1276 | /* set the check time to now */ | ||
| 1277 | xs *dummy = notify_check_time(snac, 1); | ||
| 1278 | |||
| 1279 | timeline_touch(snac); | ||
| 1280 | |||
| 1276 | return s; | 1281 | return s; |
| 1277 | } | 1282 | } |
| 1278 | 1283 | ||