You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think ement-after-initial-sync-hook is called per session, and creates a duplicate idle timer each time?
(defunement--run-idle-timer (&rest_ignore)
"Run idle timer that updates read receipts.To be called from `ement-after-initial-sync-hook'. Timer isstored in `ement-read-receipt-idle-timer'."
(setf ement-read-receipt-idle-timer (run-with-idle-timer3t#'ement-room-read-receipt-idle-timer)))
It seems like it should simply test the variable to see whether it's already a timer?
The text was updated successfully, but these errors were encountered:
And if ement can disconnect from individual sessions then I expect ement--stop-idle-timer called from ement-disconnect-hook also needs to check for remaining sessions.
`ement--stop-idle-timer' called from `ement-disconnect-hook' also
needs to check for remaining sessions to avoid removing the timer
incorrectly.
See alphapapa#196
I think
ement-after-initial-sync-hook
is called per session, and creates a duplicate idle timer each time?It seems like it should simply test the variable to see whether it's already a timer?
The text was updated successfully, but these errors were encountered: