File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ export default {
118118 type : window . UfsChatType . sticker ,
119119 content : parse (
120120 all_strings [ i + 6 ] . match ( / " p l a y a b l e U r l " : " ( .* ?) " / ) ?. [ 1 ] ||
121+ all_strings [ i + 6 ] . match ( / " p r e v i e w U r l " : " ( .* ?) " / ) ?. [ 1 ] ||
121122 all_strings [ i + 9 ] . match ( / " p r e v i e w U r l " : " ( .* ?) " / ) ?. [ 1 ] ||
122123 ""
123124 ) ,
@@ -169,7 +170,7 @@ export default {
169170 chats . push ( {
170171 type : window . UfsChatType . share_location ,
171172 content : parse (
172- all_strings [ i + 1 ] . match ( / " a c t i o n U r l " : " ( .* ?) " / ) || ""
173+ all_strings [ i + 1 ] . match ( / " a c t i o n U r l " : " ( .* ?) " / ) ?. [ 1 ] || ""
173174 ) ,
174175 id : all_strings [ i + 8 ] ,
175176 } ) ;
@@ -178,7 +179,7 @@ export default {
178179 chats . push ( {
179180 type : window . UfsChatType . realtime_location ,
180181 content : parse (
181- all_strings [ i + 1 ] . match ( / " a c t i o n U r l " : " ( .* ?) " / ) || ""
182+ all_strings [ i + 1 ] . match ( / " a c t i o n U r l " : " ( .* ?) " / ) ?. [ 1 ] || ""
182183 ) ,
183184 id : all_strings [ i - 10 ] ,
184185 } ) ;
You can’t perform that action at this time.
0 commit comments