@defer.inlineCallbacks
    def current_state_for_user(self, user_id):
        res = yield self.current_state_for_users([user_id])
        defer.returnValue(res[user_id])
Get the current presence state for a user.
dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/presence.py/PresenceHandler.current_state_for_user