summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/communication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src/communication.cpp')
-rw-r--r--protocols/Omegle/src/communication.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/Omegle/src/communication.cpp b/protocols/Omegle/src/communication.cpp
index 428d4a8cc4..3170b934c0 100644
--- a/protocols/Omegle/src/communication.cpp
+++ b/protocols/Omegle/src/communication.cpp
@@ -573,6 +573,9 @@ bool Omegle_client::events()
pos = 0;
while ( (pos = resp.data.find( "[\"gotMessage\",", pos )) != std::string::npos ) {
+ // Play sound as we received message
+ SkinPlaySound("StrangerMessage");
+
pos += 15;
std::string message = utils::text::trim(
@@ -591,6 +594,9 @@ bool Omegle_client::events()
pos = 0;
while ( (pos = resp.data.find( "[\"spyMessage\",", pos )) != std::string::npos ) {
+ // Play sound as we received message
+ SkinPlaySound("StrangerMessage");
+
pos += 15;
std::string message = resp.data.substr(pos, resp.data.find("\"]", pos) - pos);