~singpolyma/cheogram-android

93836d94eea31bb2a7c863160441573efc32303b — Daniel Gultsch 6 years ago ae35593
null pointer check in notification service
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/services/NotificationService.java
M src/main/java/eu/siacs/conversations/services/NotificationService.java => src/main/java/eu/siacs/conversations/services/NotificationService.java +1 -1
@@ 181,7 181,7 @@ public class NotificationService {
	public void push(final Message message) {
		synchronized (CATCHUP_LOCK) {
			final XmppConnection connection = message.getConversation().getAccount().getXmppConnection();
			if (connection.isWaitingForSmCatchup()) {
			if (connection != null && connection.isWaitingForSmCatchup()) {
				connection.incrementSmCatchupMessageCounter();
				pushFromBacklog(message);
			} else {