mtproto icon indicating copy to clipboard operation
mtproto copied to clipboard

Simplified code and remove unsed code

Open anaxita opened this issue 3 years ago • 3 comments

Describe your feature

  • [x] this PR was checked by golangci-linter
  • [x] new code did not break current interfaces
  • [x] all comments were written on american english language
  • [x] all commit messages are spiced up with emojis, which wa defined in CG and in .gitmessage

This PR improve code by removing unused code, panic and implements one of TODO

Main purpose

  • Removed a panic in switch cases (return an error insead)
  • Implemented response channels closing on reconnect
  • Simplified a func for message id generating
  • Removed unused func

Possible issues

@quenbyako, please add these labels: label1,label2,label3

anaxita avatar Jun 04 '22 00:06 anaxita

@quenbyako could you process this pr?

xepozz avatar Jul 02 '22 17:07 xepozz

@quenbyako could you process this pr?

Yes of course

anaxita avatar Jul 02 '22 21:07 anaxita

up theme

anaxita avatar Jul 11 '22 09:07 anaxita