Skip to content

ui/chat: Some code simplification.#212

Open
Kaffeine wants to merge 2 commits intomrPjer:masterfrom
Kaffeine:master
Open

ui/chat: Some code simplification.#212
Kaffeine wants to merge 2 commits intomrPjer:masterfrom
Kaffeine:master

Conversation

@Kaffeine
Copy link
Collaborator

Okey, let me try to start with something small and simple. :)

@Kaffeine
Copy link
Collaborator Author

Oh, I just realised that code was already almost same, so there can be just +0 / -19 lines.
I just started to refactor NewMessage and then adjusted it's usage in chat_screen.qml.

initConnection() call removed from Api constructor, because that connection
is going to be killed in most cases (in favour of restoreConnection()).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant