This commit is contained in:
Daniel Gultsch 2014-03-13 21:45:38 +01:00
parent 9c811f8fb2
commit bf7bba0311
2 changed files with 12 additions and 7 deletions

View file

@ -69,12 +69,6 @@
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="de.gultsch.chat.ui.ConversationActivity" />
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SENDTO" />
<category android:name="android.intent.category.DEFAULT" />
@ -82,6 +76,17 @@
<data android:host="jabber" />
</intent-filter>
</activity>
<activity
android:name="eu.siacs.conversations.ui.ShareWithActivity"
android:label="Conversations"
android:theme="@android:style/Theme.Holo.Light.DialogWhenLarge"
android:icon="@drawable/ic_launcher">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>
</application>
</manifest>

View file

@ -928,7 +928,7 @@ public class XmppConnectionService extends Service {
public void deleteAccount(Account account) {
Log.d(LOGTAG, "called delete account");
if (account.getXmppConnection() != null) {
this.disconnect(account, false);
this.disconnect(account, true);
}
databaseBackend.deleteAccount(account);
this.accounts.remove(account);