Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
205
Issues
205
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
0602a7b0
Commit
0602a7b0
authored
Aug 13, 2019
by
Madhur Garg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed message for MUC's which doesn't support MAM
parent
ddc23d7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
poezio/mam.py
poezio/mam.py
+1
-1
No files found.
poezio/mam.py
View file @
0602a7b0
...
...
@@ -56,7 +56,7 @@ async def query(tab, remote_jid, top, start=None, end=None, before=None):
except
(
IqError
,
IqTimeout
):
return
tab
.
information
(
'Failed to retrieve messages'
,
'Error'
)
if
'urn:xmpp:mam:2'
not
in
iq
[
'disco_info'
].
get_features
():
return
tab
.
core
.
information
(
"
This MUC doesn't support MAM."
,
"Error"
)
return
tab
.
core
.
information
(
"
%s doesn't support MAM."
%
remote_jid
,
"Error"
)
if
top
:
if
isinstance
(
tab
,
tabs
.
MucTab
):
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment