Fix Room
model initialization
This commit is contained in:
committed by
GitHub
parent
4eb49b9119
commit
11501e6899
@@ -138,7 +138,8 @@ class Room(Group):
|
|||||||
|
|
||||||
def __init__(self, uid, privacy_mode=None, **kwargs):
|
def __init__(self, uid, privacy_mode=None, **kwargs):
|
||||||
"""Deprecated. Use :class:`Group` instead"""
|
"""Deprecated. Use :class:`Group` instead"""
|
||||||
super(Room, self).__init__(ThreadType.Room, uid, **kwargs)
|
super(Room, self).__init__(uid, **kwargs)
|
||||||
|
self.type = ThreadType.ROOM
|
||||||
self.privacy_mode = privacy_mode
|
self.privacy_mode = privacy_mode
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user