private Observable < Boolean > upsertTempMessage ( ChatMessage message ) { return persistenceController . updateStoreWithNewMessage ( message , noConversationListener ) . doOnError ( t -> log . e ( "Error saving temp message " + t . getLocalizedMessage ( ) ) ) . onErrorReturn ( t -> false ) ; }
Insert temporary message to the store for the ui to be responsive .