test: fix the tests for plugin room game
This commit is contained in:
parent
4bb50c59f7
commit
680dd48587
1 changed files with 13 additions and 8 deletions
|
|
@ -304,7 +304,7 @@ class RoomGame(object):
|
|||
nicks = []
|
||||
for player_jid in [player.userhostJID() for player in players_jids]:
|
||||
# TODO: find a way to make it secure
|
||||
other_nick = self.host.plugins["XEP-0045"].getRoomNickOfUser(room, player_jid, secure=False)
|
||||
other_nick = self.host.plugins["XEP-0045"].getRoomNickOfUser(room, player_jid, secure=self.testing)
|
||||
if other_nick is None:
|
||||
self.host.plugins["XEP-0249"].invite(player_jid, room_jid, {"game": self.name}, profile)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue