summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-16 05:26:08 +0100
committerGitHub <noreply@github.com>2024-01-16 05:26:08 +0100
commit2c29c2b8dd280d0aeff432569f324cd85d83b415 (patch)
treee5552e7f82ccb37b611a3a577f94c91f9c813320 /src/network
parentMerge pull request #12681 from t895/stick-toggles (diff)
parentFix typos in master (diff)
downloadyuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar
yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.gz
yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.bz2
yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.lz
yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.xz
yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.tar.zst
yuzu-2c29c2b8dd280d0aeff432569f324cd85d83b415.zip
Diffstat (limited to '')
-rw-r--r--src/network/room_member.cpp2
-rw-r--r--src/network/room_member.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/room_member.cpp b/src/network/room_member.cpp
index b94cb24ad..a6845273c 100644
--- a/src/network/room_member.cpp
+++ b/src/network/room_member.cpp
@@ -724,7 +724,7 @@ RoomMember::CallbackHandle<RoomInformation> RoomMember::BindOnRoomInformationCha
return room_member_impl->Bind(callback);
}
-RoomMember::CallbackHandle<ChatEntry> RoomMember::BindOnChatMessageRecieved(
+RoomMember::CallbackHandle<ChatEntry> RoomMember::BindOnChatMessageReceived(
std::function<void(const ChatEntry&)> callback) {
return room_member_impl->Bind(callback);
}
diff --git a/src/network/room_member.h b/src/network/room_member.h
index 33ac18e72..37e9ea16a 100644
--- a/src/network/room_member.h
+++ b/src/network/room_member.h
@@ -254,7 +254,7 @@ public:
* @param callback The function to call
* @return A handle used for removing the function from the registered list
*/
- CallbackHandle<ChatEntry> BindOnChatMessageRecieved(
+ CallbackHandle<ChatEntry> BindOnChatMessageReceived(
std::function<void(const ChatEntry&)> callback);
/**