mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-23 20:30:06 +00:00
Explicitly update buddy records in DB
this should fix the bug where removing a buddy while they're offline won't take you off their list until you disconnect
This commit is contained in:
@@ -162,6 +162,10 @@ namespace Database {
|
||||
void appendBlob(std::vector<char>*blob, int64_t input);
|
||||
int64_t blobToInt64(std::vector<char>::iterator it);
|
||||
|
||||
// buddies
|
||||
void addBuddyship(int playerA, int playerB);
|
||||
void removeBuddyship(int playerA, int playerB);
|
||||
|
||||
// email
|
||||
int getUnreadEmailCount(int playerID);
|
||||
std::vector<EmailData> getEmails(int playerID, int page);
|
||||
|
||||
Reference in New Issue
Block a user