Skip to content

Commit

Permalink
Don't try to translate URL
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWiederhake committed Sep 26, 2020
1 parent c83a609 commit 985ffe9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tgp-msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,11 @@ static char *tgp_msg_photo_display (struct tgl_state *TLS, const char *filename,
}
used_images_add (conn, img);
if (g_strcmp0(purple_core_get_ui(), "BitlBee") == 0) {
*flags |= PURPLE_MESSAGE_SYSTEM;
return g_strdup_printf (_("file://%s"), filename);
*flags |= PURPLE_MESSAGE_SYSTEM;
return g_strdup_printf ("file://%s", filename);
} else {
*flags |= PURPLE_MESSAGE_IMAGES;
return tgp_format_img (img);
*flags |= PURPLE_MESSAGE_IMAGES;
return tgp_format_img (img);
}
}

Expand Down

0 comments on commit 985ffe9

Please sign in to comment.