forked from mirror/monocles_chat_clean
change string replacement (fixes #42)
All checks were successful
/ build (push) Successful in 3m43s
All checks were successful
/ build (push) Successful in 3m43s
This commit is contained in:
parent
c028faa981
commit
9fe3b01d66
1 changed files with 2 additions and 1 deletions
|
|
@ -632,7 +632,8 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
|
|||
if (!result.second && aesgcm != null) {
|
||||
return body.toString().replace(aesgcm, "");
|
||||
} else if (!result.second && getOob() != null) {
|
||||
return body.toString().replace(getOob().toString(), "");
|
||||
// TODO: change string to replace if implementation in getOob() changes
|
||||
return body.toString().replace(getFileParams().url, "");
|
||||
} else if (!result.second && isGeoUri()) {
|
||||
return "";
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue