From 6e533ee3863baf3a53c4758b0a34e459e068be20 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 19 Aug 2020 00:09:59 +0200 Subject: WIP: FIX p2p --- .gitmodules | 2 +- bootstrap_nodes | 2 +- src/ChatWindow.cpp | 4 ++-- src/Window.cpp | 1 - 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 #include #include #include -- cgit v1.2.3