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
178
Issues
178
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
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
0f066ab1
Commit
0f066ab1
authored
Apr 01, 2016
by
Link Mauve
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add_message_to_text_buffer was never used with its time and history arguments.
parent
bfe7a310
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
poezio/core/core.py
poezio/core/core.py
+3
-4
No files found.
poezio/core/core.py
View file @
0f066ab1
...
...
@@ -1647,16 +1647,15 @@ class Core(object):
tabs
.
Tab
.
height
-
2
,
0
)
self
.
left_tab_win
=
None
def
add_message_to_text_buffer
(
self
,
buff
,
txt
,
time
=
None
,
nickname
=
None
,
history
=
None
):
def
add_message_to_text_buffer
(
self
,
buff
,
txt
,
nickname
=
None
):
"""
Add the message to the room if possible, else, add it to the Info window
(in the Info tab of the info window in the RosterTab)
"""
if
not
buff
:
self
.
information
(
'Trying to add a message in no room: %s'
%
txt
,
'Error'
)
else
:
buff
.
add_message
(
txt
,
time
,
nickname
,
history
=
history
)
return
buff
.
add_message
(
txt
,
nickname
=
nickname
)
def
full_screen_redraw
(
self
):
"""
...
...
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