v0.6.1 Flatpak preparation and update on start for Linux
This commit is contained in:
parent
30bc7df431
commit
ee851789ee
5 changed files with 63 additions and 49 deletions
|
@ -175,8 +175,9 @@ Rectangle{
|
|||
onDropped: {
|
||||
if (messageSend.state==""){messageSend.state="active"}
|
||||
if (drop.keys.includes('text/uri-list')){
|
||||
attachImageURLs.push(drop.text);
|
||||
attachImage(drop.text)}
|
||||
var droptext = drop.text.replace(/(\r\n|\n|\r)/gm, "");
|
||||
attachImageURLs.push(droptext);
|
||||
attachImage(droptext)}
|
||||
else if (drop.keys.includes('text/html')){
|
||||
bodyField.append(drop.html)}
|
||||
else if (drop.keys.includes('text/plain')){
|
||||
|
|
|
@ -178,20 +178,20 @@ Rectangle{
|
|||
default:messagetype=0;
|
||||
}
|
||||
//if(newstab.newstabstatus=="Timeline"){//print("lastnewsid "+lastnews_id);
|
||||
if(newstabstatus=="Timeline"){
|
||||
if(newstab.newstabstatus=="Timeline" || newstabstatus=="Timeline" ){
|
||||
Newsjs.newsfromdb(root.db,root.login, messagetype,function(news){
|
||||
var msg = {'currentTime': currentTime, 'model': newsModel,'news':news,'method':"", 'options':globaloptions};
|
||||
newsWorker.sendMessage(msg);
|
||||
},false,lastnews_id)}
|
||||
//else if(newstab.newstabstatus=="Conversations"){
|
||||
else if(newstabstatus=="Conversations"){
|
||||
else if(newstab.newstabstatus=="Conversations" || newstabstatus=="Conversations"){
|
||||
Newsjs.chatsfromdb(root.db,root.login, messagetype,function(news){
|
||||
var msg = {'currentTime': currentTime, 'model': newsModel,'news':news,'method':"", 'options':globaloptions};
|
||||
newsWorker.sendMessage(msg);
|
||||
},lastnews_id)}
|
||||
//else if (newstab.newstabstatus=="Notifications"){}
|
||||
else if (newstabstatus=="Notifications"){}
|
||||
else{
|
||||
else if (newstab.newstabstatus=="Notifications" || newstabstatus=="Notifications"){}
|
||||
else{print("no conversations or timeline "+newstabstatus);
|
||||
switch(newsSwipeview.stacktype){
|
||||
case "Home":messagetype=0;break;
|
||||
case "DirectMessages": messagetype=1;break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue