diff --git a/src/main/java/org/jitsi/jigasi/AudioModeration.java b/src/main/java/org/jitsi/jigasi/AudioModeration.java
index 68c3bfd80..db09b0bf3 100644
--- a/src/main/java/org/jitsi/jigasi/AudioModeration.java
+++ b/src/main/java/org/jitsi/jigasi/AudioModeration.java
@@ -354,8 +354,10 @@ public boolean requestAudioMuteByJicofo(boolean bMuted)
((ChatRoomJabberImpl) mucRoom).removePresencePacketExtensions(lowerHandExtension);
}
+ long timeMillis = new Date().getTime();
+
// let's raise hand
- jitsiMeetTools.sendPresenceExtension(mucRoom, new RaiseHandExtension().setRaisedHandValue(true));
+ jitsiMeetTools.sendPresenceExtension(mucRoom, new RaiseHandExtension().setRaisedHandValue(timeMillis));
return false;
}
@@ -581,14 +583,13 @@ public RaiseHandExtension()
}
/**
- * Sets user's audio muted status.
+ * Sets user's raised hand status.
*
- * @param value true or false which indicates audio
- * muted status of the user.
+ * @param value the UNIX timestamp in miliseconds or null.
*/
- public ExtensionElement setRaisedHandValue(Boolean value)
+ public ExtensionElement setRaisedHandValue(Long value)
{
- setText(value ? value.toString() : null);
+ setText(value == null ? "0" : value.toString());
return this;
}