Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed May 19, 2020
1 parent a9ec5f4 commit fcbaf3f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions synapse/handlers/presence.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@ async def set_state(
) -> None:
"""Set the presence state of the user. """

@abc.abstractmethod
async def bump_presence_active_time(self, user: UserID):
"""We've seen the user do something that indicates they're interacting
with the app.
"""


class PresenceHandler(BasePresenceHandler):
def __init__(self, hs: "synapse.server.HomeServer"):
Expand Down

0 comments on commit fcbaf3f

Please sign in to comment.