Error message should be shown when room config update failed.

This commit is contained in:
Guus der Kinderen
2017-06-22 15:51:49 +02:00
parent d5b490d302
commit 2fd1adacbb
2 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,7 @@ import org.jivesoftware.smackx.muc.MultiUserChat;
import org.jivesoftware.smackx.muc.RoomInfo;
import org.jivesoftware.spark.SparkManager;
import org.jivesoftware.spark.component.CheckBoxList;
import org.jivesoftware.spark.component.MessageDialog;
import org.jivesoftware.spark.util.GraphicUtils;
import org.jivesoftware.spark.util.ModelUtil;
import org.jivesoftware.spark.util.ResourceUtils;
@ -241,6 +242,7 @@ public class DataFormDialog extends JPanel {
}
catch (XMPPException | SmackException e) {
Log.error(e);
MessageDialog.showErrorDialog( Res.getString( "group.send_config.error" ), e);
}
}

View File

@ -422,6 +422,7 @@ group.search.form = Search form
group.search.results = Search results
group.chat.name.notification = Seen your name...
group.chat.name.match = Your name has been said in group chat:
group.send_config.error = An exception occurred while trying to save the updated form!
label.na = n/a
label.home = Home