18+ tag, fixes

This commit is contained in:
Natsumi
2024-12-05 07:46:45 +13:00
parent e58ed54448
commit f49a3a1995
4 changed files with 12 additions and 2 deletions

View File

@@ -7036,7 +7036,7 @@ speechSynthesis.getVoices();
};
$app.methods.addFriendship = function (id) {
if (!this.friendLogInitStatus || this.friendLog.has(id)) {
if (!this.friendLogInitStatus || this.friendLog.has(id) || id === API.currentUser.id) {
return;
}
var ref = API.cachedUsers.get(id);