Skip to content
  • Hugo Lefeuvre's avatar
    refresh popupmenu/chatview on account state change · 7e259ac4
    Hugo Lefeuvre authored and Sébastien Blin's avatar Sébastien Blin committed
    Better UI reactivity on account state change:
    
    + Do not show audio and video call options in the conversationsview's
      popup menu when account is disabled (this doesn't make sense,
      account is not able to place a call)
    + Refresh popup menu on account state change (list of options
      has to be updated)
    + Refresh chatview on account state change (some elements of the
      chatview require update, e.g. message bar)
    + Fix broken display property update in hideControls()
    
    Misc code cleanup, add a few helpers to avoid code duplication.
    
    Change-Id: I212a47566bd65687e5ed61ec56087a4e1f3166bd
    Gitlab: #929
    
    
    Reviewed-by: default avatarSebastien Blin <sebastien.blin@savoirfairelinux.com>
    7e259ac4