This commit is contained in:
nuclearfog 2022-01-28 18:23:04 +01:00
parent 2ef2f8acec
commit 226a8f2853
No known key found for this signature in database
GPG Key ID: AA0271FBE406DB98
1 changed files with 1 additions and 6 deletions

View File

@ -75,7 +75,7 @@ class TweetImpl implements Tweet {
retweeted = (tweetRegister & RTW_MASK) != 0;
sensitive = (tweetRegister & MEDIA_SENS_MASK) != 0;
mediaLinks = SEPARATOR.split(linkStr);
String userMentions = StringTools.getUserMentions(text, "");
userMentions = StringTools.getUserMentions(text, "");
// get media type
if ((tweetRegister & MEDIA_ANGIF_MASK) == MEDIA_ANGIF_MASK) {
mediaType = MEDIA_GIF;
@ -86,11 +86,6 @@ class TweetImpl implements Tweet {
} else {
mediaType = MEDIA_NONE;
}
if (author.isCurrentUser()) {
this.userMentions = userMentions;
} else {
this.userMentions = author.getScreenname() + ' ' + userMentions;
}
}
@Override