improve send message retrying, read thumbnails when opening a content, refactor some code, fix a minor bug related to room event history

Created by  Yusuf Bera Ertan  on November 18, 2020
7DWCVQ7NSWW52VKMR7DM27CMOVDXECTXNHYNLDF4NVAI6YH3HHVQC
Change contents