def update(self, **kwargs): if 'item' in kwargs: self._item = self._item.replace(kwargs['item']) if 'gosBit' in kwargs and USER_TAG.filterSharedTags(self._tags): self._gos = GAME_ONLINE_STATUS.update(self._gos, kwargs['gosBit']) self._item.update(**kwargs) super(XMPPUserEntity, self).update(**kwargs)
def update(self, **kwargs): if 'gosBit' in kwargs: self._gos = GAME_ONLINE_STATUS.update(self._gos, kwargs['gosBit']) super(SharedUserEntity, self).update(**kwargs)