Commit d81a548c authored by Andreas Traczyk's avatar Andreas Traczyk

chatview(qt): don't use errorhandling on broken file transfer links

Change-Id: I69519c5d6ed2ec022be32f1a8528598dbd49d921
parent 81d8a02d
......@@ -1612,6 +1612,9 @@ function buildNewMessage(message_object) {
if (message_type === "data_transfer") {
if (isImage(message_text) && delivery_status === "finished" && displayLinksEnabled) {
var errorHandler = function () {
if (use_qt) {
return
}
var wrapper = message_div.querySelector(".internal_mes_wrapper")
var message_wrapper = message_div.querySelector(".message_wrapper")
if (message_wrapper) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment