Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits:
-
a550aba5
by wurstsalat at 2021-09-05T22:17:19+02:00
1 changed file:
Changes:
| ... | ... | @@ -19,9 +19,9 @@ |
| 19 | 19 |
from gi.repository import GLib
|
| 20 | 20 |
|
| 21 | 21 |
from gajim.common import app
|
| 22 |
-from gajim.common import helpers
|
|
| 23 | 22 |
from gajim.common.helpers import is_affiliation_change_allowed
|
| 24 | 23 |
from gajim.common.helpers import is_role_change_allowed
|
| 24 |
+from gajim.common.helpers import jid_is_blocked
|
|
| 25 | 25 |
from gajim.common.i18n import _
|
| 26 | 26 |
from gajim.common.const import URIType
|
| 27 | 27 |
from gajim.common.const import URIAction
|
| ... | ... | @@ -321,7 +321,7 @@ def get_conv_context_menu(account, uri): |
| 321 | 321 |
|
| 322 | 322 |
|
| 323 | 323 |
def get_roster_menu(account, jid, transport=False):
|
| 324 |
- if helpers.jid_is_blocked(account, jid):
|
|
| 324 |
+ if jid_is_blocked(account, jid):
|
|
| 325 | 325 |
block_label = _('Unblock')
|
| 326 | 326 |
else:
|
| 327 | 327 |
block_label = _('Block…')
|