Skip to content
Snippets Groups Projects
Commit 3d8a3192 authored by Bedřich Košata's avatar Bedřich Košata
Browse files

do not attempt download of attachments for sent messages - show some info instead

parent 99f819f0
No related merge requests found
......@@ -30,6 +30,16 @@ MessageDetailAssistant.prototype.getDetails = function () {
MessageDetailAssistant.prototype.getAttachments = function(){
console.log("ATTACH "+this.message.attachments);
/* temporary solution for libnicds not handling complete
* sent messages
*/
console.log(this.messageType);
if (this.messageType == "sent") {
this.attachments = [{
"title": "Download of attachments for sent messages is not yet supported"
}];
return
}
var download = false;
if (this.attachments.length == 0) {
// no attachments are available yet
......
......@@ -2,7 +2,7 @@ GCC=gcc
INCLUDES=-I"/opt/PalmPDK/include/SDL/" -I"/opt/PalmPDK/include/"
LIBDIRS=-L"/opt/PalmPDK/device/lib/" -L /usr/local/lib/
OPTS=-Wl,--allow-shlib-undefined
LIBREFS=-lSDL -lpdl -lGLESv2
LIBREFS=-lSDL -lpdl -lGLESv2 -lssl
D=-DDEBUG
#LIBREFS=-lssl
#D=-DDEBUG -DINTERFACE_TEST
......
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