@@ -6,6 +6,9 @@ def __init__(self):
6
6
super (EnablePhotoModePatch , self ).__init__ ()
7
7
8
8
self .register ('ENABLE_PHOTO_MODE' , 'imvu/mode/ShopMode.py' , 'def addChatTool' )
9
+ self .register ('ENABLE_CHAT_TOOL' , 'imvu/mode/ShopMode.py' , 'def addChatTool' )
10
+ self .register ('ENABLE_IN_SHOP_1' , 'imvu/client/sessionwindow.py' , 'def __hiResSnapshot' )
11
+ self .register ('ENABLE_IN_SHOP_2' , 'imvu/client/sessionwindow.py' , 'def __hiResSnapshotNoBg' )
9
12
10
13
def patch (self , context ):
11
14
if context .pattern == 'ENABLE_PHOTO_MODE' :
@@ -14,3 +17,15 @@ def patch(self, context):
14
17
context .write ('return [\' invite-friend\' ]\n ' , indent = 2 )
15
18
16
19
context .write (context .line )
20
+ elif context .pattern == 'ENABLE_CHAT_TOOL' :
21
+ context .write (context .line )
22
+ context .skip (1 )
23
+ context .write ('self.addChatToolNoCheck()' , indent = 2 )
24
+
25
+ context .write (context .line )
26
+ elif context .pattern == 'ENABLE_IN_SHOP_1' :
27
+ context .write (context .line )
28
+ context .skip (2 )
29
+ elif context .pattern == 'ENABLE_IN_SHOP_2' :
30
+ context .write (context .line )
31
+ context .skip (2 )
0 commit comments