1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Cosmetics rename variable barejid into roomjid

This commit is contained in:
Paul Fariello 2019-03-15 22:58:01 +01:00
parent cf528383bd
commit 031e906035
3 changed files with 4 additions and 4 deletions

View File

@ -7978,7 +7978,7 @@ cmd_omemo_start(ProfWin *window, const char *const command, gchar **args)
/* TODO: Check room is configured correctly, no anonymous and access to /* TODO: Check room is configured correctly, no anonymous and access to
* full jid */ * full jid */
omemo_start_muc_sessions(mucwin->barejid); omemo_start_muc_sessions(mucwin->roomjid);
mucwin->is_omemo = TRUE; mucwin->is_omemo = TRUE;
} else { } else {

View File

@ -295,9 +295,9 @@ omemo_start_session(const char *const barejid)
} }
void void
omemo_start_muc_sessions(const char *const barejid) omemo_start_muc_sessions(const char *const roomjid)
{ {
GList *roster = muc_roster(barejid); GList *roster = muc_roster(roomjid);
GList *iter; GList *iter;
for (iter = roster; iter != NULL; iter = iter->next) { for (iter = roster; iter != NULL; iter = iter->next) {
Occupant *occupant = (Occupant *)iter->data; Occupant *occupant = (Occupant *)iter->data;

View File

@ -36,7 +36,7 @@ void omemo_trust(const char *const jid, const char *const fingerprint);
void omemo_untrust(const char *const jid, const char *const fingerprint); void omemo_untrust(const char *const jid, const char *const fingerprint);
void omemo_start_session(const char *const barejid); void omemo_start_session(const char *const barejid);
void omemo_start_muc_sessions(const char *const barejid); void omemo_start_muc_sessions(const char *const roomjid);
void omemo_start_device_session(const char *const jid, uint32_t device_id, GList *prekeys, uint32_t signed_prekey_id, const unsigned char *const signed_prekey, size_t signed_prekey_len, const unsigned char *const signature, size_t signature_len, const unsigned char *const identity_key, size_t identity_key_len); void omemo_start_device_session(const char *const jid, uint32_t device_id, GList *prekeys, uint32_t signed_prekey_id, const unsigned char *const signed_prekey, size_t signed_prekey_len, const unsigned char *const signature, size_t signature_len, const unsigned char *const identity_key, size_t identity_key_len);
gboolean omemo_loaded(void); gboolean omemo_loaded(void);