aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-19 00:09:59 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-19 00:14:50 +0200
commit6e533ee3863baf3a53c4758b0a34e459e068be20 (patch)
treee1e6917f21d9bcb784137ba9b642e05737c45935 /src
parent9c37b2dca4edaf8e9d487c6a18ab53b178161f37 (diff)
WIP: FIX p2p
Diffstat (limited to 'src')
-rw-r--r--src/ChatWindow.cpp4
-rw-r--r--src/Window.cpp1
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ChatWindow.cpp b/src/ChatWindow.cpp
index 437282a..e1359a6 100644
--- a/src/ChatWindow.cpp
+++ b/src/ChatWindow.cpp
@@ -478,8 +478,8 @@ namespace dchat
message->avatar.url = "https://discordemoji.com/assets/emoji/PeepoHide.png";
else
message->avatar.url = request.message->creator->avatarUrl;
- //message->set_valign(Gtk::Align::ALIGN_START);
- //message->set_hexpand(true);
+ message->set_valign(Gtk::Align::ALIGN_START);
+ message->set_hexpand(true);
message->show_all();
messageById[request.message->id] = message;
RoomData *roomData = roomDataById[*request.room->id];
diff --git a/src/Window.cpp b/src/Window.cpp
index 5991bb3..ea1d2c9 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -1,5 +1,4 @@
#include "../include/Window.hpp"
-#include <dchat/RoomDataType.hpp>
#include <dchat/Cache.hpp>
#include <sibs/SafeDeserializer.hpp>
#include <math.h>