[wesnoth-commits] [wesnoth/wesnoth] d6cc2e: Chatbox: partially fixed buggy nick autocompletion...

Charles Dang noreply at github.com
Mon Nov 8 00:27:42 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d6cc2eb8b96168d17edaf8a1f0670cf7912fcd0e
      https://github.com/wesnoth/wesnoth/commit/d6cc2eb8b96168d17edaf8a1f0670cf7912fcd0e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2021-11-07 (Sun, 07 Nov 2021)

  Changed paths:
    M src/game_initialization/multiplayer.cpp
    M src/game_initialization/multiplayer.hpp
    M src/gui/widgets/chatbox.cpp

  Log Message:
  -----------
  Chatbox: partially fixed buggy nick autocompletion (fixes #6263)

I don't really like this solution, since as mentioned in #3729, while this works for players
in the lobby, since lobby_info.users isn't updated while a player is in staging/join, anyone
who joins the lobby (or your game) after your create or join a game won't get included in the
autocomplete list. BEeides, I don't like the idea of exposing the full lobby_info object here
just for the user list, but it at least gets ac working and not crashing.





More information about the Commits mailing list