mirror of
https://gitlab.gnome.org/World/tootle
synced 2025-02-02 00:46:48 +01:00
Fix #63
This commit is contained in:
parent
9bd0fe85ab
commit
56a70160d9
@ -91,9 +91,13 @@ public class Tootle.Status {
|
||||
result = "@%s ".printf (account.acct);
|
||||
|
||||
if (mentions != null) {
|
||||
foreach (var mention in mentions)
|
||||
if (mention.acct != accounts.current.acct)
|
||||
foreach (var mention in mentions) {
|
||||
var equals_current = mention.acct == accounts.current.acct;
|
||||
var already_mentioned = mention.acct in result;
|
||||
|
||||
if (!equals_current && ! already_mentioned)
|
||||
result += "@%s ".printf (mention.acct);
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user