mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix: Return value
This commit is contained in:
parent
533dd3103e
commit
f97c776a87
|
@ -109,5 +109,8 @@ bool AboutFriend::clearHistory()
|
||||||
History* const history = Nexus::getProfile()->getHistory();
|
History* const history = Nexus::getProfile()->getHistory();
|
||||||
if (history) {
|
if (history) {
|
||||||
history->removeFriendHistory(pk.toString());
|
history->removeFriendHistory(pk.toString());
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user