Correct docstring.
parent
6cacf83661
commit
5f49dab1fa
|
@ -763,7 +763,7 @@ impl Room {
|
||||||
///
|
///
|
||||||
/// # Arguments
|
/// # Arguments
|
||||||
///
|
///
|
||||||
/// * `event` - The presence event for a specified room member.
|
/// * `event` - The presence event to receive and process.
|
||||||
pub fn receive_presence_event(&mut self, event: &PresenceEvent) -> bool {
|
pub fn receive_presence_event(&mut self, event: &PresenceEvent) -> bool {
|
||||||
if let Some(member) = self.joined_members.get_mut(&event.sender) {
|
if let Some(member) = self.joined_members.get_mut(&event.sender) {
|
||||||
if member.did_update_presence(event) {
|
if member.did_update_presence(event) {
|
||||||
|
|
Loading…
Reference in New Issue