Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vmj-qt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
vmj-qt
Commits
21c9deb2
Commit
21c9deb2
authored
Jan 25, 2016
by
Dan Pascu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed no longer necessary code
parent
c5db2431
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
chatwindow.py
blink/chatwindow.py
+0
-4
No files found.
blink/chatwindow.py
View file @
21c9deb2
...
@@ -2054,10 +2054,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
...
@@ -2054,10 +2054,6 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
message
=
notification
.
data
.
message
message
=
notification
.
data
.
message
if
message
.
content
.
startswith
(
'?OTRv2?'
):
# TODO: add support for OTR -Saul
return
if
message
.
content_type
.
startswith
(
'image/'
):
if
message
.
content_type
.
startswith
(
'image/'
):
content
=
u'''<img src="data:{};base64,{}" class="scaled-to-fit" />'''
.
format
(
message
.
content_type
,
message
.
content
.
encode
(
'base64'
)
.
rstrip
())
content
=
u'''<img src="data:{};base64,{}" class="scaled-to-fit" />'''
.
format
(
message
.
content_type
,
message
.
content
.
encode
(
'base64'
)
.
rstrip
())
elif
message
.
content_type
.
startswith
(
'text/'
):
elif
message
.
content_type
.
startswith
(
'text/'
):
...
...
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