aboutsummaryrefslogtreecommitdiff
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
parent9c37b2dca4edaf8e9d487c6a18ab53b178161f37 (diff)
WIP: FIX p2p
-rw-r--r--.gitmodules2
-rw-r--r--bootstrap_nodes2
-rw-r--r--src/ChatWindow.cpp4
-rw-r--r--src/Window.cpp1
4 files changed, 4 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules
index 7fa650d..8e25b10 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,3 @@
[submodule "depends/dchat_core"]
path = depends/dchat_core
- url = https://gitlab.com/DEC05EBA/dchat_core.git
+ url = https://git.dec05eba.com/dchat-core
diff --git a/bootstrap_nodes b/bootstrap_nodes
index e56ea71..7b9ad53 100644
--- a/bootstrap_nodes
+++ b/bootstrap_nodes
@@ -1 +1 @@
-127.0.0.1 \ No newline at end of file
+127.0.0.1
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>