File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/main/java/org/jitsi/jigasi Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -354,8 +354,10 @@ public boolean requestAudioMuteByJicofo(boolean bMuted)
354354 ((ChatRoomJabberImpl ) mucRoom ).removePresencePacketExtensions (lowerHandExtension );
355355 }
356356
357+ long timeMillis = new Date ().getTime ();
358+
357359 // let's raise hand
358- jitsiMeetTools .sendPresenceExtension (mucRoom , new RaiseHandExtension ().setRaisedHandValue (true ));
360+ jitsiMeetTools .sendPresenceExtension (mucRoom , new RaiseHandExtension ().setRaisedHandValue (timeMillis ));
359361
360362 return false ;
361363 }
@@ -581,14 +583,13 @@ public RaiseHandExtension()
581583 }
582584
583585 /**
584- * Sets user's audio muted status.
586+ * Sets user's raised hand status.
585587 *
586- * @param value <tt>true</tt> or <tt>false</tt> which indicates audio
587- * muted status of the user.
588+ * @param value the UNIX timestamp in miliseconds or null.
588589 */
589- public ExtensionElement setRaisedHandValue (Boolean value )
590+ public ExtensionElement setRaisedHandValue (Long value )
590591 {
591- setText (value ? value .toString () : null );
592+ setText (value == null ? "0" : value .toString ());
592593
593594 return this ;
594595 }
You can’t perform that action at this time.
0 commit comments